package com.mycat.dao.mapper.auth;

import com.mycat.dao.core.MyBatisBaseMapper;
import com.mycat.dao.entity.auth.Admin;

import java.util.Map;


/**
* AdminMapper
* Date:2016-8-26 16:02:39
* @author Roger
*/
public interface AdminMapper extends MyBatisBaseMapper<Admin> {

    /**
     * 获取Admin
     * @param admin 参数
     * @return Admin
     */
    Admin selectAdmin(Admin admin);

    /**
     * 根据用户获取用户关联角色
     * @param admin Admin
     * @return Admin
     */
    Admin selectAdminRole(Admin admin);

}